#ifndef __IO_REDIRECT_H__
#define __IO_REDIRECT_H__

#include "main.h"
#include "cmsis_os.h"
#include "usart.h"
#include "string.h"

#define IO_BLOCK_SIZE 64
#define IO_QUEUE_SIZE 32

#define IO_SIGNAL_TX_DONE	0x0001

typedef struct{
	uint8_t len;
	uint8_t buf[IO_BLOCK_SIZE];
}mem_block_t;

#endif
